how to write numeric array